Eschew use of #flatten

Arguably this is personal taste, but I believe this reads better.