Pass container instance to resolving callbacks.