Implemented equality and non-equality