                     }
                 }
                 
-                handler(expirationDate)
+                completionHandler(expirationDate)
             })
         }
     }

    
    */
    
    func expirationDateForPayment(payment payment: SKPayment, withPurchaseDate date: NSDate) -> NSDate? {
    
        var expirationDate : NSDate? = nil
        


    Iterate the expiration dates for the current user and find the latest one.
    
    - parameter completionHandler : A handler which returns either an expiration date, or nil.
    
    */
    
    func fetchPatronageExpiration(withCompletionHandler completionHandler: (NSDate?) -> Void) {
        
        CKContainer.defaultContainer().fetchUserRecordIDWithCompletionHandler { (userRecordID : CKRecordID?, error : NSError?) -> Void in
            
