Adding TypeScript support.