Fixed deprecations.
Updates Cocos2d