removing invalid assert from CompositeImpl that forced the instance to have mainImpl