Strip deprecated reference to setFieldsFromJSON.