First cut at a do-the-renew operation

I'm not sure if this works; I'll write some tests now.