Correct the type of the val for set method of AsyncMaps