I would have preferred to expose a property called `compressed` instead of the raw flags field.