Implemented BSON code(ws) types