Recovery-Friendly Programs