Bug: CHAR_BITS -> CHAR_BIT
Improve errors now that we use strings for names.