updated some modules for typescript 0.9

I have fixed a few modules to work with Typescript 0.9