Added support for multiple forms.