Refactor sl_list.