Adding missing hashCode implementation