Update definition files.

Add plugin.d.ts.