Example implementations of the publish/lookup/unpublish functions