Minor performance improvements in Node.