Removed some un-used code from Mesh.