Handling 1d, 2d, 3d manifolds correctly.