Is this `flatten` necessary?