Rename method addCheck -> setCheck
Fixed default value handling.