Add UCD query functions