Change way routes are injected with macros