Added matching of ways to the plan.