Matrix header and footer support