TypeScript 0.9.5 compatibility updates.