Make the comparison operators non-member functions.