Add JavaDoc for classes that are part of the public API or SPI.
Move ExportRange into its own class file.