Pull Request in Relation to Issue: Typescript 0.9 Compatibility

Title says it all.