Implemented basic support for vector.