Adding StateMachine draft.