Currently, you can either provide argument instances or types to provided. This is not recommended: https://docs.julialang.org/en/v1/manual/style-guide/#Avoid-confusion-about-whether-something-is-an-instance-or-a-type because some arguments may themselves be types. provided should only accept argument instances.