Add missing loops import