Changed method of export.