Expose middleware.