Creates node instance and associates it with the given object. Returns the newly constructed node instance.