Chop-out phase enum into separate definitions.