Remove all configuration not needed for clients.