Update README example to reflect changes made to methods