Renamed module agg_mods -> metadata