Expanded class hierarchy of Foo