Added checking of the instance widget type in the field_settings_form hook.