Add. get_writer method to encrypt/decrypt objects.