Refactor map-vals and rename it to fmap.