Added a `QM.mapreduce` method