Class ToUriToUrl refactored.