Code style
Support retrieving replication category with or without its subcategories