Added type query to vector object.