Deleting old template code