Remove useless Resources and Settings.