Simplify mapping callback