Fixed use of typename outside template.