Fixes issue type hinting native objects