Added module TemplateComp. The TemplateComp entity must be a type, not type class.