As com.mongodb.DBPointer is already deprecated, we can move everything from DBRefBase to DBRef.
This will remove also the following methods:
- com.mongodb.DefaultDBEncoder#putDBPointer
- com.mongodb.DefaultDBEncoder#putDBRef
Both of them will go into com.mongodb.DefaultDBEncoder#putSpecial.