Implemented n-ary lists.