Add import/export and export for statistics.