Job middlewares