Code cleaning in Perish template.