Remove unnecesary settings.