Added support for a settings object