Add path generalization.