Added support for configuration persistence.