Supporting list headers and footers