       Form.setUpDocs(@)
       if Form.isReactive() then Form.setUpReactivity()
       @isSubmitting = false
+      @loadDf = Q.defer()
       formArgs.onCreate?.apply(@, arguments)
       origCreated?.apply(@, arguments)
 


          # Prevent change events in the inputs during loading from submitting the form until
          # the doc promise is resolved and the form is considered loaded.
          return false if Q.isPending(template.data?.docPromise?)

          # TODO(aramk) This can result in modifier being empty and fail during submission.
          # TODO(aramk) Sometimes form fields are skipped when retrieving their values.

          return null
      singular.toLowerCase()

    Form.whenLoaded = (template) -> getTemplate(template).loadDf.promise

    # Return the Form to be used as a Template.
    return Form

