Move UrlGenerator contract to routing where it belongs.