[WIP] Wallet.cleanup()