Util is for non-HTTP things. Move middleware to top level.