Add JavaDoc comments