Use UrlGeneratorInterface instead