State Machine: persisting current state and history states is now supported.