Remove the reference node.