Adding JavaDoc comments