                     let array = ICanHas.hasContactsClosures
                     ICanHas.hasContactsClosures = []
                     
-                    array.map{$0(authorized:authorized,status:status,error:error)}
+                    let _ = array.map{$0(authorized:authorized,status:status,error:error)}
                     
                     ICanHas.isHasingContacts = false
                 }

                    let array = ICanHas.hasCaptureClosures[type]!
                    ICanHas.hasCaptureClosures[type] = []
                    
                    array.map{$0(authorized:authorized,status:status)}
                    
                    ICanHas.isHasingCapture[type] = false
                }

    static var isHasingCapture:[String:Bool] = [AVMediaTypeAudio:false,AVMediaTypeClosedCaption:false,AVMediaTypeMetadata:false,AVMediaTypeMuxed:false,AVMediaTypeSubtitle:false,AVMediaTypeText:false,AVMediaTypeTimecode:false,AVMediaTypeVideo:false]
    static var isHasingPhotos = false
    static var isHasingContacts = false
    static var isHasingCalendar:[EKEntityType:Bool] = [EKEntityType.Event:false,EKEntityType.Reminder:false]
    
    static var hasPushClosures:[(authorized:Bool)->Void] = []
    static var hasLocationClosures:[(authorized:Bool,status:CLAuthorizationStatus)->Void] = []
    static var hasCaptureClosures:[String:[(authorized:Bool,status:AVAuthorizationStatus)->Void]] = [AVMediaTypeAudio:[],AVMediaTypeClosedCaption:[],AVMediaTypeMetadata:[],AVMediaTypeMuxed:[],AVMediaTypeSubtitle:[],AVMediaTypeText:[],AVMediaTypeTimecode:[],AVMediaTypeVideo:[]]
    static var hasPhotosClosures:[(authorized:Bool,status:PHAuthorizationStatus)->Void] = []
    static var hasContactsClosures:[(authorized:Bool,status:ABAuthorizationStatus,error:CFError!)->Void] = []
    static var hasCalendarClosures:[EKEntityType:[(authorized:Bool,error:NSError!)->Void]] = [EKEntityType.Event:[],EKEntityType.Reminder:[]]
    
    public class func CalendarAuthorizationStatus(entityType type:EKEntityType = EKEntityType.Event)->EKAuthorizationStatus {
        return EKEventStore.authorizationStatusForEntityType(type)
    }
    
    public class func CalendarAuthorization(entityType type:EKEntityType = EKEntityType.Event)->Bool {
        return EKEventStore.authorizationStatusForEntityType(type) == .Authorized
    }
    
    public class func Calendar(store:EKEventStore = EKEventStore(), entityType type:EKEntityType = EKEntityType.Event, closure:(authorized:Bool,error:NSError!)->Void) {
        
        onMain {
            ICanHas.hasCalendarClosures[type]!.append(closure)
