readme.markdown: update Example section for changed API