Fount a possible bug in multiple inheritance. Needs further testing.