Pass and store a client's mode.