Fixed some issues with vector type definitions