Add direct support for map-reduce operations.