Iterate threw categories properly.