Replace typename in template arguments with class

Apparently we all love using typename for template arguments, but the standard consistently uses class