Adding out of bounds protection for vtable method lookup.