Eliminate warnings generated from enums with multiple values.