Refactor to build the method using the original URL string. The url is now the definition