When a private method is used in a method reference, make it package-private

Fixes #17