Adding the injection of objects.