Updated to generate d.ts files