Remove references to node