Made print head and print footer methods private