     
     public init<S: Sequence>(_ sequence: S) where S.Iterator.Element == Element {
         
-        self.rawValue = sequence.flags
+        self.rawValue = sequence.rawValue
     }
 }
 

    
    public var set: Set<Element> {
        
        get { return Element.from(flags: rawValue) }
    }
}


    
    public extension Sequence where Iterator.Element: BitMaskOption {
        
        /// Convert Swift enums for bit mask options into their raw values OR'd.
        var rawValue: Iterator.Element.RawValue {
            
            @inline(__always)
            get { return reduce(0, { $0 | $1.rawValue }) }
