Remove wrong use of typename