Function foo.bar() will no longer be accessible after extraction