             let defaults = NSUserDefaults.standardUserDefaults()
             uuid = defaults.objectForKey(BFUniqueIdentifierDefaultsKey) as? String
             if uuid == nil {
-                uuid = self.generateUUID()
+                uuid = String.generateUUID()
                 defaults.setObject(uuid, forKey: BFUniqueIdentifierDefaultsKey)
                 defaults.synchronize()
             }
         }
         return uuid!
     }
-    
-    /**
-     Private, used to create an UUID as String
-    
-     - returns: Returns the created UUID string
-     */
-    private static func generateUUID() -> String {
-        let theUUID: CFUUIDRef? = CFUUIDCreate(kCFAllocatorDefault)
-        let string: CFStringRef? = CFUUIDCreateString(kCFAllocatorDefault, theUUID)
-        return string! as String
-    }
-}
+}

        case "iPad4,7":         return "iPad mini 3 (WiFi)"
        case "iPad4,8":         return "iPad mini 3 (Cellular)"
        case "iPad4,9":         return "iPad mini 3 (China)"
        // Apple TV
        case "AppleTV2,1":      return "Apple TV 2G"
        case "AppleTV3,1":      return "Apple TV 3G"
        case "AppleTV3,2":      return "Apple TV 4G"
        // Apple Watch
        case "Watch1,1":        return "Apple Watch 38mm"
        case "Watch1,2":        return "Apple Watch 42mm"
        case "i386", "x86_64":  return "Simulator"
        default:
            return platform

        // iPhone
        case "iPhone1,1":       return "iPhone 2G"
        case "iPhone1,2":       return "iPhone 3G"
        case "iPhone2,1":       return "iPhone 3GS"
        case "iPhone3,1":       return "iPhone 4 (GSM)"
        case "iPhone3,2":       return "iPhone 4 (Rev. A)"
        case "iPhone3,3":       return "iPhone 4 (CDMA)"
        case "iPhone4,1":       return "iPhone 4S"
        case "iPhone5,1":       return "iPhone 5 (GSM)"
        case "iPhone5,2":       return "iPhone 5 (CDMA)"
        case "iPhone5,3":       return "iPhone 5c (GSM)"
        case "iPhone5,4":       return "iPhone 5c (Global)"
        case "iPhone6,1":       return "iPhone 5s (GSM)"
        case "iPhone6,2":       return "iPhone 5s (Global)"
        case "iPhone7,1":       return "iPhone 6 Plus"
        case "iPhone7,2":       return "iPhone 6"
        case "iPhone8,1":       return "iPhone 6s"
        case "iPhone8,2":       return "iPhone 6s Plus"
        // iPod
        case "iPod1,1":         return "iPod Touch 1G"
        case "iPod2,1":         return "iPod Touch 2G"
