Use universal references for templated loops.