 
 import Foundation
+
+public typealias StorableDictionary = [String: AnyObject]
+
 
 public protocol Storable {
     

    
    func toDictionary() -> [String: AnyObject]
    
    init(dictionary: [String: AnyObject])
}

public protocol DataStore {

        let typeDictionary = dictionaryForType(type.typeName)
        
        
            if let object = typeDictionary[id] as? StorableDictionary {
            
                item = T(dictionary: object)
            }
