Adding the NoderExportVars visitor for atpackager to export local variables.