Moved the NodeList functions to their new places in NodeCollection.
Change NodeList calls to NodeCollection calls.