Add missing setType calls to the form.