Might be better to expand `$mr` into `$mapReduce`.