Finish template Argument translation function
Add support for template specializations
Remove unneeded code