Fix to use AWSSettings.