"fixes leeroya/Shell#2" Extended Validation for pin.