Use Category.all_names instead of map.