Implemented the CompositeEnumerableCommand class.