Adding some TypeScript 1.3 language features