Minor SQLa model_form refactoring