Limit access to ref() and provider() to bean supplier lambdas.
ref()
provider()
5.2
ref<Foo>()
ref<Foo>("foo")