Do you need to specify the template type explicitly here? You already pass it as the last parameter.