More examples.
Fixed NPE in Java model serialization.
Minor fix of NPE.