Dependency injection.