Add generalized support for composite operations.