Simplify <map> hook