adds foldLeft/foldRight methods