Assign foldBack and reduceBack