add documentation for custom headers/footers