Refactor CharacterData static fields as enum values.