Print header and footer methods (private)