Fix publisher dependency

Closes #5