Maybe add a comment why it's save to use Handle rather than Local here (Undefined() is a singleton and length fits in an SMI, hence no risk of the GC reclaiming the values prematurely.)