Fixed bug introduced by removing encryption.