Added MIN and MAX_NODE_ID constants
Changed function declarations in NodeBase