Some cl-loop optimizations.