btcui type clean-up.