Updated the node implementation so gcc likes it.