sc.dispose(); sc.removeModificationListener(this);
((ExperimentHost)hostComponent).dispose(); ((ExperimentHost)hostComponent).removeModificationListener(this);
  public void removeHost(HostComponent hostComponent) {    ExperimentHost sc = (ExperimentHost) hostComponent;    hosts.remove(hostComponent);    sc.dispose();           // Let the host disassociate itself from nodes    sc.removeModificationListener(this);    fireModification();  }