core: Setting classes for each line (ListInfos)