Adding private key cache.