basic support for the export builtin.