Pruning what is needed under config