Get the header block for loops