Change publish behaviour.