Removed nodeInstance parameter in constructor function