Fixed signature for reduce, reduceRight, foldr, foldl methods