Added isRoot property