Easily handle bitmask attributes in any Ruby object.