Pass dependencies to FormBuilder