Update for extensions changes and fix double mounting.

Update for the switch to `TypeMap`.

I also fixed double mounting, which I'd broken when I introduced removal of the original URL...
To be honest you could probably straight-up use fail!() or unreachable!() here. This should absolutely not happen unless someone intentionally removes the OriginalUrl, which is just unexpected behavior.