Add operator overloads for comparison operators.