Add Wallet.trim(), as an attempt to conserve memory.