Safety checks for iOS 8-only classes