Update model to use NSUInteger for iOS 7