Added exists function to publishing client