Add missing $settings variable.