Add support for generating global javadoc.