GCC doesn't allow using scoped enums in bitfields without warnings. So we use "unsigned" bitfield and a couple of get/set methods.
Also ApiWrap is now not a QObject.