Pass current IStateMachine instance to StateContext