should probably be `doctrine.registry`