Fixed the export and unexpoer methods.