Removed source comments and added JavaDocs.