`data.clear` is unnecessary; have just created the map.