Moved Node methods outside class