Add ability to read encrypted data properly