`utils.flatten` added.