Updates to support TypeScript 0.9