Updates for generalization.