Add missing examples to Java API