Added require for publisher