mescc: Refactor binary operators.