added getCodeCategories and getCodeDescriptorsByCategory ( buggy )