Code cleaning in Harvest template.