Added classes for rows.