I actually forgot to move this over to Router when I did some refactoring of Router and Pjax a while back. I'm surprised no one hit the issue :-/ But that's the reason it's showing up in this diff.