method C.getFoo() implements property B.foo.