Use UrlGeneratorInterface instead of RouterInterface