Added some more JavaDoc comments.