Add code for the set methods of Category