Added java-doc comments to sources.