Added the node remove function.