Fix PublishedManager and add docstrings.