Added javadoc comments to modified files.