Show either doc or brief in description
Make refids for children
Make functions always have standalone qids