Handle configuration.