JavaDocs and comments for clarity