TypeScript 0.9 compatibility fixes