Adding templates to Vector