CPDictionary setObject: forKey: throw on nil key or object. Deprecated warning for now.