Simplifying document head