Use cocos2d namespaces to avoid ambiguity with CoreFoundation.