Updated to TypeScript 0.8.2