Added a template instantiation to singmathic.