Use list and generator comprehensions rather than map() in a few cases.