Correcting javadocs