Complete bitfield support; dynamic writeXXX methods definition.