Add interface methods to get mass and center of mass.