Added Method Template and TemplateWriter