Made getChildren call more clear

Added ‘allLevels’ argument to getChildren to make it clear that it
recursively gets all the children.