Added weights_map.