Initial work on TypeScript