semantic: Write to Function.vtableIndex.
semantic: Rewrite class method calls to vtable calls.