Added ObjectMixin to classes inherited from doctrine