TK-21651 Moved from mongoi-delphi-driver