Added simple JavaDoc comments.