Fix incorrect methods in README example