fix ::instance to allow objects for config