Fixed some wonky behavior with class variables for Node.