Fix GCC error caused by extraneous "template".