Fix current javadocs to be compilable