Add support for equality and inequality operators.