add destroy api to class node.display