And now I'm re-reading it, its not middleware.  They're controller methods.