Add hashCode and equals to Items.