Added more JavaDoc.