add code for generating DOM classes from IDL definitions