Rename clientState to client.