Backport v3.0 NavigationHistory class