Add core::ToBit