Replace stupid implementation of array_map.