Added documentation (JavaDocs)