Add getUrl and getShortUrl methods