Add yesno class to lib.