Added default child functionality to the node class