Added Hunter's state machine.