Use into instead of apply hash-map.