Add support for array in forms.

Issue #56