Added support for vector operations.