Try namespace qualifying the call to foobar.