Required for libwallet.