Generalize binary operators.