Since a node may have children and they should be iterable, the Nodefinterface now extends RecursiveIterator.