Remove libwallet dependency.