MDL-24419 (1): Core restore steps should have after_restore function