utils.flatten() should return a list.