Revert "Move to enum."
Revert "Move to enum."

This reverts commit 95e51c0507079fdf1320d24db86b5f2103bbda48.

sw17ch/Z-ARCHIVED-legacy-cauterize,sw17ch/Z-ARCHIVED-legacy-cauterize,sw17ch/Z-ARCHIVED-legacy-cauterize,sw17ch/Z-ARCHIVED-legacy-cauterize,sw17ch/Z-ARCHIVED-legacy-cauterize