Added getters and setters to CategoryClass