Replaced the class type identifier with typename in all template parameters.