add macro for template class specs