Fix: setSecureKey is not fully processed.