Removes unused sections