Save class changes.