     /**
     Returns function to decode JSON to value type
     for objects that conform to the Glossy protocol
-    
-    - parameter key: JSON key used to set value
-    
-    - returns: Function decoding JSON to an optional value type
+
+    :param: key JSON key used to set value
+
+    :returns: Function decoding JSON to an optional value type
     */
     public static func decode<T: Decodable>(key: String) -> JSON -> T? {
         return {

    
    /**
    Returns function to decode JSON to date
    
    - parameter key:           JSON key used to set value
    - parameter dateFormatter: Formatter used to format date
    
    - returns: Function decoding JSON to an optional date
    */
    public static func decodeDate(key: String, dateFormatter: NSDateFormatter) -> JSON -> NSDate? {
        return {

    
    /**
    Returns function to decode JSON to value type

    :param: key JSON key used to set value

    :returns: Function decoding JSON to an optional value type
    */
    public static func decode<T>(key: String) -> JSON -> T? {
        return {
