header modification should not be index object's accessor.

It should be an option for as_string method.