python & java: pump API to 2.0