Removed duplicates and unused settings.