Initial port of the 'ShapeMass' type.