Doctrine 2 - ORM

Simplify overwriting ClassMetadataFactory