code: function(name, view, insert) {
      var manager, selector;
      // Parent view, the one you are setting a View on.
      var root = this;
  
      // If no name was passed, use an empty string and shift all arguments.
      if (typeof name !== "string") {
        insert = view;
        view = name;
        name = "";
      }
  
      // Shorthand the `__manager__` property.
      manager = view.__manager__;
  
      // If the View has not been properly set up, throw an Error message
      // indicating that the View needs `manage: true` set.
      if (!manager) {
        throw new Error("The argument associated with selector '" + name +
          "' is defined and a View.  Set `manage` property to true for " +
          "Backbone.View instances.");
      }
  
      // Add reference to the parentView.
      manager.parent = root;
  
      // Add reference to the placement selector used.
      selector = manager.selector = root.sections[name] || name;
  
      // Code path is less complex for Views that are not being inserted.  Simply
      // remove existing Views and bail out with the assignment.
      if (!insert) {
        // Ensure remove is called only when swapping in a new view (when the
        // view is the same, it does not need to be removed or cleaned up).
        if (root.getView(name) !== view) {
          root.removeView(name);
        }
  
        // Assign to main views object and return for chainability.
        return root.views[selector] = view;
      }
  
      // Ensure this.views[selector] is an array and push this View to
      // the end.
      root.views[selector] = aConcat.call([], root.views[name] || [], view);
  
      // Put the parent view into `insert` mode.
      root.__manager__.insert = true;
  
      return view;
    }
docs: This takes in a partial name and view instance and assigns them to the internal collection of views.  If a view is not a LayoutManager instance, then mix in the LayoutManager prototype.  This ensures all Views can be used successfully.  Must definitely wrap any render method passed in or defaults to a typical render function `return layout(this).render()`.