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

    }
    
    @inline(__always)
    static func from(flags: RawValue) -> Set<Self> {
        
        #if swift(>=4.0)
            return Self.all.filter({ $0.isContained(in: flags) })
        #elseif swift(>=3.0.2)
            return Set(Array(Self.all).filter({ $0.isContained(in: flags) }))
        #endif
    }
}

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

