Added primitive type to meshes