Change path generalization to use asterisks.