Adding initial support for optimized message-logging protocol for collectives.