Refactor layout meta headers