Add interface. and Fix syntax.

I added this to fix a problem with a IDE code completion and compile with "lwf.d.ts".