[Routing] Added an extension point for globals in AnnotationClassLoader