Don't cast functions in the vtable.