         classMappings[propertyKey] = mapping
     }
     
-    func registerClass(anyClass: AnyClass, propertyKey: String, jsonKey: String) {
+    public func registerClass(anyClass: AnyClass, propertyKey: String, jsonKey: String) {
         
         registerClass(anyClass, propertyKey: propertyKey, jsonKey: jsonKey, format: nil)
     }
     
-    func registerClass(anyClass: AnyClass, forKey: String) {
+    public func registerClass(anyClass: AnyClass, forKey: String) {
         
         registerClass(anyClass, propertyKey: forKey, jsonKey: forKey)
     }
     
-    func registerDate(propertyKey: String, jsonKey: String, format: String) {
+    public func registerDate(propertyKey: String, jsonKey: String, format: String) {
         
         registerClass(NSDate.self, propertyKey: propertyKey, jsonKey: jsonKey, format: format)
     }
     
-    func registerDate(forKey: String, format: String) {
+    public func registerDate(forKey: String, format: String) {
         
         registerDate(forKey, jsonKey: forKey, format: format)
     }

        }
    }
    
    class func createObjectFromDict< T : JSONObject >(dict: Dictionary<String, AnyObject?>) -> T {
        
        var obj = T()
        obj.setPropertiesFromDictionary(dict)
        return obj
    }
    
    private func registerClass(anyClass: AnyClass, propertyKey: String, jsonKey: String, format: String?) {
        
        var mapping = Mapping()
        mapping.mClass = anyClass

//        return nil
//    }
    
    public class func createObjectFromJson< T : JSONObject >(json:JSON) -> T {
        
        return T.createObjectFromDict(json.dictionaryObject!)
    }
    
    public func setExtraPropertiesFromJSON(json:JSON) {
        
    }
    
