Swap multiple inheritance