Restore magic fields.