Added URL shortening functionality.