code: public function removeStatuses(array $statusIds)
      {
          $statusMongoIds = array();
          foreach ($statusIds as $statusId) {
              $statusMongoIds[] = new \MongoId($statusId);
          }
  
          $qb = $this->createQueryBuilder();
          $qb->remove()
              ->field('id')->in($statusMongoIds)
              ->getQuery()
              ->execute();
      }
docs: @param array $statusIds
  
  @throws \Exception