Added a CompositePhysicalObject class