Improve bitfield handling.