Use explicit pre and post AST visitor handlers.