Dependency injection in services.