Add vector class.