To rozszerzenie jest przestarzałe. Powinieneś użyć rozszerzenia MongoDB
The core classes are the most important part of the driver.