Change how to specify the argument to WithMiddlewareAction.