Add node_hook functions