Reduce nested levels in Node.class.php.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Merge branch 'nestedLevels_master'