Merge all found types with the same name