For this & `publish` can you provide slightly better docstrings? What are these functions actually for?