Started to work on Typescript version.