WIXFEAT:4413 - Merge OnApplyNumberOfPhases into OnApplyBegin.