Working on compacting AST.