Extensions and utility classes for Cocos2D-iphone