Adds more functionality to Vector class.