Updates config to remove unused properties.