Added removal of selected nodes.