Extension: routes are attached in beforeCompile, compatible with DecoratorExtension