Add support for formatting bits as well as bytes.