I\'m in the process of porting some python code to Scala where I have the following class hierarchy:
class Foo: ... class Bar(Foo): ... class Baz(Foo):