         return {
             date in
             
-            if let d = date {
-                return [key : dateFormatter.stringFromDate(d)]
+            if let date = date {
+                return [key : dateFormatter.stringFromDate(date)]
             }
             
             return nil

    */
    public static func encode<T>(key: String) -> T? -> JSON? {
        return {
            object in
            
            if let object = object {
                
                return [key : object as! AnyObject]
            }
            
            return nil

        return {
            url in
            
            if let url = url {
                return [key : url.absoluteString]
            }
            
            return nil
