Uses new factory method for intantiation of Vector.