Added form.setData. Closes #28