Creates a new category of the selected class.