Removed DSM trace from template.php