Exposed flattenType().