Vector class.