Do you think this middleware dispatcher should be it's own package that other stuff could use? I think this will come up a lot.