Added minimization generator to TS class