TODO: Check data sent in class Mesh.