Fix some crashes which occur on iOS 8 simulator.
Updated to CP 0.34 rc2.