Improve passphrase functionality