Normalize class arrays