Fix Javadoc comments and typos