Integrated is_closed loops.