Make SecretExponentSolver evaluate more lazily.
Add wallet subkey cache.