Upgraded to typescript v0.9