Fix generated type summaries