Rather than adding this special modifier that kind of "does too much", let's add a `withoutFragment` modifier, so I can achieve the same effect with `uri.toRelative.withoutFragment` at the (small) expense of one more intermediate allocation.