DATAGRAPH-380: Add docs for TypeSafetyPolicy.
Minor fixes to log entries and javadoc.