moving the _onAddingHeader machinery to slice instances, to avoid a double notification