Add getUrl, setUrl methods and setUrl call