Removed template code