Switch operands to enum classes.