Add option to generate definition with only interfaces; omit constructors from interfaces; other tweaks.