Add methods for vectors