Adding javadocs to generation