Proper resource export.