Rudimentary object state machine.