Remove unnecessary toList.