Commented and refactoored base settings.