Add map, reduce and filter primitives