Parse TemplateStat imports.