Agreed, relying on the route would be much cleaner here. I didn't realize we could get at the route data from a plain handler.