Added Flattened trait to allow run to detect flattened iteratees. So far that is the only needed case.