Convert couple methods to be static in cnTemplatePart.