removed superfluous typename keywords that caused compilation errors