Make WalletTool compile again.