get rid of extraneous type name in generated schema files.