Adds comparison operators.