bson: move docs to be with their implementation.