Make it easier to override UrlGenerator