Add support for vectors of pointers.