Reduced visibility of the node inner class. Now returns objects