Add configurable pub option.