Added a protocol to each generated category.