Simplify expansion by localizing more @list processing, some renaming.
Rename propertyIsList to insideList.