Added javadoc to document #298