Added AST extending functions