Proper use of types in autogenerated files.