Javadoc fixes.
Exclude generated code from Javadocs.

Unfortunately this doesn't actually work due to a bug in maven-javadoc-plugin,
but I filed an issue with a patch that fixes it, so hopefully that will make it
into the next release (and hopefully the next release will come out some time
in this decade).