Made SecureSharedPreferences easier to extend.