Ignore the above, since this is the client middleware, it could be a worker class or a string. In all our uses, it should always be a class.