Changed a way how will be managed roles of categories.