Add an EnumValue function to utilities.h.