The idea is that `AnnotationRegistry` keeps the annotations autoloader and the normal class loaders insulated. What can be improved is `AnnotationRegistry::registerLoader()` so that it also accepts "use the global loader" (like in https://github.com/doctrine/DoctrineModule/blob/cef5366f4293adeb5b391e9852cdcee4c4dffc70/src/DoctrineModule/Module.php#L55-L59 )