Reverted the AST creation pattern.