Fixed function signatures in Form\SetupForm.