Multiple inheritance problems