[#2787] Fix broken enums.