Remove duplicate class attribute