code: function (overrides) {
        var ResourceManagerCtor = overrides ? Charon.ResourceManager.extend(overrides) : Charon.ResourceManager;
        return new ResourceManagerCtor(this);
      }
docs: Defines a ResourceManager type and returns an instance of it. ``overrides``: Object, optional prototype properties to add to the resource manager definition. Example: MyClient.Resource = MyClient.ResourceManagerFactory({ url: "/resource" });