Last rev broke the media layer because of a typo in layer definition. Switched to an enum to avoid similar future typos.
PREVENT_STUCK_MODIFIERS