A state machine.