Add elpa recovery function.