Export function now includes all fields.