Simplify fragment logic.

* #getPath/#getHash don't need to be stripped.
* Use #navigate where appropriate.