Adding function and renaming AST visitors.