Uses list comprehension.