Get rid of unnecessary destruct statement and save_url function.