Why is `$nameNode`'s `nodeName` relevant? It is removed anyway.