allow nested settings.
migrate plugins to use nested options.