Add back guids to entries
Add unpublish function