Fixing issue #6: "Fatal error: Class 'Swift_Preferences' not found"