Oops, I'm pretty sure that was from me. I'm torn on whether we should change the API. For now we should definitely just fix the example to match the current API.