Simplify URL history implementation.