Updated to typescript 0.9.7