Partially implemented TemplateMatcher