Fix javadoc markup.
Fix javadoc markup and typos.
Add log warnings for problems with lookups.