Fixes method of accessing Yaml settings.