Changes in cell fate determine the regenerative and functional capacity of the developing kidney before and after release of obstruction.