In dispatch handler, pre-process the maps.