Properly implement configurable headers/footers