Support for exporting drafts. Closes #1