Improve type generator code by merging types (crString and string) so no duplicates are possible.