Add support for exporting data