Another dependency injection experiment.