Added hashCode for all classes