Convert to list comprehension.