Added support for 4-digit PINs.