Added publish method docs