Courses: update_categories(), delete_categories() and delete_modules() created but not tested.