code: function(container) {
  	
  		if (lang.isValue(container.group)) {
  	   	var group = WireIt.GroupUtils.getOuterGroup(container.group);
  	   	this.addGroup(group);
  		}
  		else if (this.containers.indexOf(container) == -1) {
  	    	this.containers.push(container);	    
  	    	container.addedToGroup();
  		}
      }
docs: addContainer