If he only has one ability it doesn't matter
but the Class/Ability is there so that a pokemon with 2 abilities has an equal chance of getting either ability.
I will edit this soon with which program is actually right.
Edit: It is Ability 1 aka Class 2 which is the second possible ability
Legality checker is right.