closes #401 - Foo.extend(Bar) returns a subclass inheriting from both Foo and Bar