Initial implementation of DoctrineModule.