update Url and UrlImmutable methods signature