Generalize Vector impl