Introduced partial application into coroutine creation and
initialization; updated some Java examples; not tested yet.