Resolve syntax in README example code