Add pushState support.