Mesh implementation and Types.h