Add foldr and foldl operators