Modularizing headers/footers