Basic implementation for DoctrineModule.