These two methods can be used to create objects in the context of the injector without storing them in the injector.