Removed code for constructing URL and used conversion's method instead.