Experiments with dependency injection