I would really like to see this TODO fixed. You can copy the repair chain code.