Adding javadoc for SPI classes