Remove unnecessary callback used in list_categories endpoint. bugid:112360