Use enum classes and OptionSets for PaintPhase and PaintBehavior