Add header/footer element support