Add JavaDocs for end-user API