Updated to TypeScript 1.1