Partially implemented loadMesh.