code: function (nodeList, unregistered, parent, directlyNested) {
  			// If a unregistered callback has been provided assign it to the nodeList
  			// as a property to be called when the nodeList is unregistred.
  			CID(nodeList);
  			nodeList.unregistered = unregistered;
  			nodeList.parentList = parent;
  			nodeList.nesting = parent && typeof parent.nesting !== 'undefined' ? parent.nesting + 1 : 0;
  
  			if(parent) {
  				nodeList.deepChildren = [];
  				nodeList.newDeepChildren = [];
  				nodeList.replacements = [];
  				if(parent !== true) {
  					if(directlyNested) {
  						parent.replacements.push(nodeList);
  					}
  					else {
  						parent.newDeepChildren.push(nodeList);
  					}
  				}
  			}
  			else {
  				nodeLists.nestList(nodeList);
  			}
  
  
  			return nodeList;
  		}
docs: ## nodeLists.register Registers a nodeList and returns the nodeList passed to register