Remove useless Template And Directive