bv is checked above as `args[0]->IsFunction()`. i'll add the assert on proto, thanks for pointing that out.