Refactored ConstantMessages to PhaseMessages