Added WeightedState.