But this approach is used in Doctrine. It is DoctrineModule?