Syntax fixes for node class