Updated to support 0.9.1-1 of typescript compiler.