Removed ccGetWindow, use getters instead