Just making 'generatedByList' function friendlier.