Remove unnecessary type parameter.