Add code for removing categories from a course