Wrote some JavaDocs.