Fixed string generation in types