Added StateMachine base class.