Add basic dependency injection support for operations.