Fix Types.chs generation