Add setPhaseEnabled.