Adds types_hash_max_size to fix issues #50