         }
     }
 
-    func optionalForKey<A>(key: String) throws -> A? {
+    public func optionalForKey<A>(key: String) throws -> A? {
         do {
             let a: A = try valueForKey(key)
             return a

//
//  Keychain.swift
//  falkor
//
//  Created by Tim Shadel on 11/10/15.
//  Copyright © 2016 OC Tanner. All rights reserved.

        }
    }

    public func deleteValue(forKey key: String) {
        let query = [
            kSecClass as String       : kSecClassGenericPassword as String,
            kSecAttrAccount as String : key ]
