That wasn't quite as painful as I had anticipated. \o/
Least efficient way to support enums, really. *shrug*