Persist configuration.