remove yaml from the template class