Fix 'fields' deprecation warnig for forms.