Add categories for related documents/images/links