Set the Url from the constructor.