Fix field_defs() call, which didn't receive correct arguments

It was passwed the model class when it needed a model instance.