Add required bson annotations.