Implemented a Vector parent class for distinguishing lists from other types of collections.