Refactor enum names.