Remove duplicated templates