Added a few comments for the JavaDoc.