Minor fix for category doclib filter
Minor API cleanup