[Fixes #84608302] Store collection labels in document.