Removed unused code to retrieve global_url (which I can't find a usecase for)