Cleanup Type-AST.