Pass custom views through the PageTypePlugin too, allow middleware logic there.
Fixed calling reverse() on the url resolve results.