Update equals() and hashCode() contract.md