Perform: Cleaning up the NodeList

Removing superfluous variables and node types.