code: function(group, index) {
  		
  		if (!lang.isValue(index)) {
  	    	index = this.groups.indexOf(group);
  		}
  	
  		if (index != -1) {
  	    	this.groups.splice(index, 1);
  	    	var containers = [];
  	    	WireIt.GroupUtils.addAllContainers(group, containers);
  	    
  	    	for (var cI in containers) {
  				containers[cI].removedFromGroup();
  			}
  		}
     }
docs: removeGroup