Add Foo class.