Fixing d.ts