Implement config.funcs.tagsForDocument
Changes