Allow constraints on enums.