It looks like `bson.NewDocument` has been deprecated but it is still used in examples in the documentation. PR Incoming.