Add support for encrypted Realms