Replaced setInteger:forKey: and integerForKey: methods.

These aren't valid for NSMutableDictionary. Replaced with NSNumber and use unsigned integers.