Change mce rendering to use template