pass a const bson_t* rather than plan buffers.