Add basic possibility of exporting to CSV.