Added submesh support to Mesh.