Rename isTopLevel flag to isTopLevelOnly