RAII for Exporters