Implement record + export.