Added equality check.