Changes: maintain the compat API to survive on mongodb 2.6