code: function ModelClassFactory(name, options) {
          if (!isUndef(options)) {
            return config(name, options);
          }
          return registry[name] || undefined;
        }
docs: Adds, gets, or updates a named model configuration