Added bitfield support (not tested yet; no direction support yet).