Adding in some JavaDoc comments.