Add GetClassName() method to each AST node