Replace maps with comprehensions.