Added inheritance to the d.ts file