Changed order of setCategory method arguments, for usability