Removed superfluous typename keywords, that would not compile on windows.