.remove_node optionally deletes the parent node as well