Removed unused settings.
Removed unused code.