Removes the existing template.