Cleanup list optimizations.