Add some JavaDocs