Since `url_fragment` is only used here, can't we just use `url.fragment` and remove the above assignment?