Add method for setting document slimmer headers

Also add tests for existing behaviour.
Add slimmer analytics headers to all documents