Add user and publiser factory definition.