Flags is treated as a bitfield that stores the internal type of the object, its freeze and taint settings, and some other internal settings.