Misc updates

Some more updates.

I think this makes decode_bits much nicer now that we can use it for multibyte fields too.