inherit from the right object.