Added javadoc to the file.