Patch by creating enums.