Replace export_all attribute with export one.