Added a url builder function.