Add TraversedStates property to the ApplyStateContext class