Clean up the list.