This should be called `format_url`