Update for TypeScript 0.9.x