Updated to use a later version of the forms library, and added support for an Array field.