sky: add a way to get the root node