Cleaning up copy_fields.