Added TypeScript support.