Implemented hashCode() on Type