Typed the List (NestedList) so that not all List are treated as nested.