Added destroyNode to NodeService.