Added support for pushState.