Fixed some collective operations.