Initializes and manages a local history object.
Optional
The options for the local history.
The upper history object to sync with.
The initial pathname for the history.
Initializes and manages a local history object.