Platform Object has no "templateContent" method