Fix types_hash_max_size issue.