Map and reduce.

Interestingly, map was implemented with reduce.