Principled, lightweight dependency injection.