Add header macro protections