[5.0] Extending UrlGenerator with url alter method