Add JavaDoc to documents