TreeCompiler output cleanup