Remove reference to client middleware