 
 import Foundation
 
-internal func addItemWithAttributes(attributes: NSDictionary) -> NSData? {
+internal func addKeychainItemWithAttributes(attributes: NSDictionary) -> NSData? {
     guard let mutableAttributes = attributes.mutableCopy() as? NSMutableDictionary else {
         return nil
     }

    return result as? NSDictionary
}

internal func allItems() -> NSArray? {
    let queryDict = [
        kSecClass as String:                kSecClassGenericPassword,
        kSecMatchLimit as String:           kSecMatchLimitAll,

    return result as? NSData
}

internal func keychainItemForPersistentRef(persistentRef: NSData) -> NSDictionary? {
    let queryDict = [
        kSecClass as String:                kSecClassGenericPassword,
        kSecValuePersistentRef as String:   persistentRef,
