     private static var defaultInitialCounter: UInt64 = 0
     private static var defaultPeriod: NSTimeInterval = 30
 
-    public var token: Token? {
-        return tokenForOTPToken(self)
-    }
-
-    public func updateWithToken(token: Token) {
+    private func updateWithToken(token: Token) {
         self.name = token.name
         self.issuer = token.issuer
 

        }
    }

    public convenience init(token: Token) {
        self.init()
        updateWithToken(token)
    }

    public func validate() -> Bool {
        return (token != nil)
    }
}


    }

    func url() -> NSURL? {
        guard let token = tokenForOTPToken(self) else {
            return nil
        }
        return Token.URLSerializer.serialize(token)
