Restore previous class config