Fix a typo in the ClassTemplate API