only require UrlGeneratorInterface rather than full RouterInterface