These macros can't be used with multiple inheritance, as they don't do anything to cast the pointer to the correct type in this case.