Registers as publisher upon startup.