Update Node.php to fix error with scope