Cleaned up passphrase protection snippet.