Updated TypeScript to v0.9.7
Separate layer wrappers.