Adds basegroup class for easy formset/formgroup management on forms.