Fix syntax and a typo
Remove redundant template argument.