declares an interface 'IBar' instead of the expected types common to the package