Use getHeader() and getFooter()