Added equality overrides to Identity.