code: function(ref, deferred, loaderErr, schema) {
      if (loaderErr) { return deferred.reject(loaderErr); }
      if (!this._schemaRegistry.isRegistered(ref)) { this.register(schema, ref); }
      deferred.resolve(schema);
    }
docs: function called when the loader finishes loading a schema