* Thus if flatten is true, we use the default setup pipe method, otherwise we add
* an unflatten at the end
*/
if (isFlattened){
FlattenCollector fc = new FlattenCollector(endOfPipe);
return setupDefaultPipe(properties, fc);
}else{
UnflattenCollector uc = new UnflattenCollector(endOfPipe);
return setupDefaultPipe(properties, uc);
}