         self.maxVariable = doc.extract("maxVariable") as IgnorableCharacters?
     }
     
+    /// Converts this Collation to a BSONPrimtive so it can be embedded
     public func makeBSONPrimitive() -> BSONPrimitive {
         return [
             "locale": locale,

import BSON

public enum WriteConcern: ValueConvertible {
    case custom(w: ValueConvertible, j: Bool?, wTimeout: Int)
    
    public func makeBSONPrimitive() -> BSONPrimitive {
        switch self {
        case .custom(let w, let j, let timeout):

            }
        }
        
        /// Converts this Strength to a BSONPrimitive
        public func makeBSONPrimitive() -> BSONPrimitive {
            return self.rawValue
        }
