Also, if there is no config to be passed to the `RegistryFactory`, this can be a string:

` 'doctrine'                                    => 'DoctrineORMModule\Service\RegistryFactory',`