Could use inlineCallbacks here? I'm not too fussed as the code is still perfectly legible, but maybe consider it for the sake of consistency?